import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 导入vant
import '@/utils/vant.js'
// 2.导入amfe-flexible: 作用是自动根据视口变化设置rem基准值为当前屏幕 1/10
import 'amfe-flexible'
// 注册全局组件
import ArticleItem from '@/components/ArticleItem.vue'
Vue.component('ArticleItem', ArticleItem)

Vue.config.productionTip = false

new Vue({
  router,
  render: (h) => h(App)
}).$mount('#app')
